int get_num_messages()
None
Returns the number of messages available in the message queue.
You must call get_message as many times as the value returned by this function to clear the message queue.